function SConfigurations()
{
}

SConfigurations.saveConfiguration = function(value1,value2,value3,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SConfigurations.saveConfiguration&param1='+value1+'&param2='+value2+'&param3='+value3+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

function SDevices()
{
}

SDevices.createDevice = function(value1,value2,value3,value4,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SDevices.createDevice&param1='+value1+'&param2='+value2+'&param3='+value3+'&param4='+value4+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SDevices.validateDevice = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SDevices.validateDevice&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SDevices.getLogs = function(value1,value2,value3,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SDevices.getLogs&param1='+value1+'&param2='+value2+'&param3='+value3+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SDevices.getHtml = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SDevices.getHtml&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

function SGui()
{
}

SGui.createConfiguration = function(value1,value2,value3,value4,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.createConfiguration&param1='+value1+'&param2='+value2+'&param3='+value3+'&param4='+value4+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.getConfiguration = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.getConfiguration&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SDevices.getDevices = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SDevices.getDevices&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.removeDevice = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.removeDevice&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.saveDevice = function(value1,value2,value3,value4,value5,value6,value7,value8,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.saveDevice&param1='+value1+'&param2='+value2+'&param3='+value3+'&param4='+value4+'&param5='+value5+'&param6='+value6+'&param7='+value7+'&param8='+value8+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SDevices.switchDeviceCommand = function(value1,value2,value3,value4,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SDevices.switchDeviceCommand&param1='+value1+'&param2='+value2+'&param3='+value3+'&param4='+value4+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

function SAccount()
{
}

SAccount.getHtml = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SAccount.getHtml&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.getGroup = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.getGroup&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SDevices.generateConfiguration = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SDevices.generateConfiguration&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SDevices.clearDeviceBackupRestoreFile = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SDevices.clearDeviceBackupRestoreFile&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.getGroups = function(myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.getGroups',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.getDeviceLogs = function(value1,value2,value3,value4,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.getDeviceLogs&param1='+value1+'&param2='+value2+'&param3='+value3+'&param4='+value4+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SAccount.createUser = function(value1,value2,value3,value4,value5,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SAccount.createUser&param1='+value1+'&param2='+value2+'&param3='+value3+'&param4='+value4+'&param5='+value5+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.changePassword = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.changePassword&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.backupDevice = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.backupDevice&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.removeDeviceCommand = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.removeDeviceCommand&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.createGroup = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.createGroup&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.getConfigurationDevices = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.getConfigurationDevices&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.applyConfigurationToGroups = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.applyConfigurationToGroups&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SConfigurations.getHtml = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SConfigurations.getHtml&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SAccount.getMenuHtml = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SAccount.getMenuHtml&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.getDevices = function(myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.getDevices',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.removeConfiguration = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.removeConfiguration&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.getLogs = function(value1,value2,value3,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.getLogs&param1='+value1+'&param2='+value2+'&param3='+value3+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

function SIndex()
{
}

SIndex.getHtml = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SIndex.getHtml&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SDevices.addDeviceCommand = function(value1,value2,value3,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SDevices.addDeviceCommand&param1='+value1+'&param2='+value2+'&param3='+value3+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SConfigurations.createConfiguration = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SConfigurations.createConfiguration&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.removeDeviceCommands = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.removeDeviceCommands&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.removeGroup = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.removeGroup&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SConfigurations.removeConfiguration = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SConfigurations.removeConfiguration&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.getDevice = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.getDevice&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SDevices.removeDeviceCommand = function(value1,value2,value3,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SDevices.removeDeviceCommand&param1='+value1+'&param2='+value2+'&param3='+value3+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.getDeviceCommands = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.getDeviceCommands&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.saveConfiguration = function(value1,value2,value3,value4,value5,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.saveConfiguration&param1='+value1+'&param2='+value2+'&param3='+value3+'&param4='+value4+'&param5='+value5+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SIndex.getDevices = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SIndex.getDevices&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.getConfigurations = function(myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.getConfigurations',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SAccount.removeUser = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SAccount.removeUser&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.applyConfigurationToDevices = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.applyConfigurationToDevices&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SIndex.getLogs = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SIndex.getLogs&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.getGroupDevices = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.getGroupDevices&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SConfigurations.removeConfigurationCommand = function(value1,value2,value3,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SConfigurations.removeConfigurationCommand&param1='+value1+'&param2='+value2+'&param3='+value3+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SConfigurations.switchConfigurationCommand = function(value1,value2,value3,value4,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SConfigurations.switchConfigurationCommand&param1='+value1+'&param2='+value2+'&param3='+value3+'&param4='+value4+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SDevices.saveDevice = function(value1,value2,value3,value4,value5,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SDevices.saveDevice&param1='+value1+'&param2='+value2+'&param3='+value3+'&param4='+value4+'&param5='+value5+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.setDeviceCommands = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.setDeviceCommands&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.moveDeviceToGroup = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.moveDeviceToGroup&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SDevices.removeDevice = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SDevices.removeDevice&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.clearConfigurationBackupRestoreFile = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.clearConfigurationBackupRestoreFile&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.validateDevice = function(value1,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.validateDevice&param1='+value1+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.addDeviceCommand = function(value1,value2,value3,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.addDeviceCommand&param1='+value1+'&param2='+value2+'&param3='+value3+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SConfigurations.clearConfigurationBackupRestoreFile = function(value1,value2,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SConfigurations.clearConfigurationBackupRestoreFile&param1='+value1+'&param2='+value2+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.createDevice = function(value1,value2,value3,value4,value5,value6,value7,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.createDevice&param1='+value1+'&param2='+value2+'&param3='+value3+'&param4='+value4+'&param5='+value5+'&param6='+value6+'&param7='+value7+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SAccount.saveUser = function(value1,value2,value3,value4,value5,value6,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SAccount.saveUser&param1='+value1+'&param2='+value2+'&param3='+value3+'&param4='+value4+'&param5='+value5+'&param6='+value6+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SConfigurations.addConfigurationCommand = function(value1,value2,value3,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SConfigurations.addConfigurationCommand&param1='+value1+'&param2='+value2+'&param3='+value3+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

SGui.saveGroup = function(value1,value2,value3,myFunc,myScope) 
{
	Ext.Ajax.request({
		url: 'JavaScriptInterface',
		params: 'method=SGui.saveGroup&param1='+value1+'&param2='+value2+'&param3='+value3+'',
		success: function(transport)
			{
				if(myFunc)
				{
					myFunc(myScope,eval(transport.responseText));
				}
			},
		failure: function(transport) {alert(transport.responseText);}
	});
}

